from django.urls import path
from django.urls import re_path
from web.views import student

urlpatterns=[
    path('list/',student.StudentView.as_view(),name='student_list'),
    path('add/',student.StudentAddView.as_view(),name='student_add'),
    re_path('edit/(?P<pk>\d+)/',student.StudentEditView.as_view(),name='student_edit'),
    re_path('delete/(?P<pk>\d+)/',student.StudentDeleteView.as_view(),name='student_delete'),
]